package xian.woniu.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CheweiExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CheweiExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCheweiIdIsNull() {
            addCriterion("chewei_id is null");
            return (Criteria) this;
        }

        public Criteria andCheweiIdIsNotNull() {
            addCriterion("chewei_id is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiIdEqualTo(Integer value) {
            addCriterion("chewei_id =", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdNotEqualTo(Integer value) {
            addCriterion("chewei_id <>", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdGreaterThan(Integer value) {
            addCriterion("chewei_id >", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("chewei_id >=", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdLessThan(Integer value) {
            addCriterion("chewei_id <", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdLessThanOrEqualTo(Integer value) {
            addCriterion("chewei_id <=", value, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdIn(List<Integer> values) {
            addCriterion("chewei_id in", values, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdNotIn(List<Integer> values) {
            addCriterion("chewei_id not in", values, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdBetween(Integer value1, Integer value2) {
            addCriterion("chewei_id between", value1, value2, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andCheweiIdNotBetween(Integer value1, Integer value2) {
            addCriterion("chewei_id not between", value1, value2, "cheweiId");
            return (Criteria) this;
        }

        public Criteria andShengIdIsNull() {
            addCriterion("sheng_id is null");
            return (Criteria) this;
        }

        public Criteria andShengIdIsNotNull() {
            addCriterion("sheng_id is not null");
            return (Criteria) this;
        }

        public Criteria andShengIdEqualTo(Integer value) {
            addCriterion("sheng_id =", value, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdNotEqualTo(Integer value) {
            addCriterion("sheng_id <>", value, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdGreaterThan(Integer value) {
            addCriterion("sheng_id >", value, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("sheng_id >=", value, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdLessThan(Integer value) {
            addCriterion("sheng_id <", value, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdLessThanOrEqualTo(Integer value) {
            addCriterion("sheng_id <=", value, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdIn(List<Integer> values) {
            addCriterion("sheng_id in", values, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdNotIn(List<Integer> values) {
            addCriterion("sheng_id not in", values, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdBetween(Integer value1, Integer value2) {
            addCriterion("sheng_id between", value1, value2, "shengId");
            return (Criteria) this;
        }

        public Criteria andShengIdNotBetween(Integer value1, Integer value2) {
            addCriterion("sheng_id not between", value1, value2, "shengId");
            return (Criteria) this;
        }

        public Criteria andShiIdIsNull() {
            addCriterion("shi_id is null");
            return (Criteria) this;
        }

        public Criteria andShiIdIsNotNull() {
            addCriterion("shi_id is not null");
            return (Criteria) this;
        }

        public Criteria andShiIdEqualTo(Integer value) {
            addCriterion("shi_id =", value, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdNotEqualTo(Integer value) {
            addCriterion("shi_id <>", value, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdGreaterThan(Integer value) {
            addCriterion("shi_id >", value, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("shi_id >=", value, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdLessThan(Integer value) {
            addCriterion("shi_id <", value, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdLessThanOrEqualTo(Integer value) {
            addCriterion("shi_id <=", value, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdIn(List<Integer> values) {
            addCriterion("shi_id in", values, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdNotIn(List<Integer> values) {
            addCriterion("shi_id not in", values, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdBetween(Integer value1, Integer value2) {
            addCriterion("shi_id between", value1, value2, "shiId");
            return (Criteria) this;
        }

        public Criteria andShiIdNotBetween(Integer value1, Integer value2) {
            addCriterion("shi_id not between", value1, value2, "shiId");
            return (Criteria) this;
        }

        public Criteria andQuIdIsNull() {
            addCriterion("qu_id is null");
            return (Criteria) this;
        }

        public Criteria andQuIdIsNotNull() {
            addCriterion("qu_id is not null");
            return (Criteria) this;
        }

        public Criteria andQuIdEqualTo(Integer value) {
            addCriterion("qu_id =", value, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdNotEqualTo(Integer value) {
            addCriterion("qu_id <>", value, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdGreaterThan(Integer value) {
            addCriterion("qu_id >", value, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("qu_id >=", value, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdLessThan(Integer value) {
            addCriterion("qu_id <", value, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdLessThanOrEqualTo(Integer value) {
            addCriterion("qu_id <=", value, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdIn(List<Integer> values) {
            addCriterion("qu_id in", values, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdNotIn(List<Integer> values) {
            addCriterion("qu_id not in", values, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdBetween(Integer value1, Integer value2) {
            addCriterion("qu_id between", value1, value2, "quId");
            return (Criteria) this;
        }

        public Criteria andQuIdNotBetween(Integer value1, Integer value2) {
            addCriterion("qu_id not between", value1, value2, "quId");
            return (Criteria) this;
        }

        public Criteria andPIdIsNull() {
            addCriterion("p_id is null");
            return (Criteria) this;
        }

        public Criteria andPIdIsNotNull() {
            addCriterion("p_id is not null");
            return (Criteria) this;
        }

        public Criteria andPIdEqualTo(Integer value) {
            addCriterion("p_id =", value, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdNotEqualTo(Integer value) {
            addCriterion("p_id <>", value, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdGreaterThan(Integer value) {
            addCriterion("p_id >", value, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("p_id >=", value, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdLessThan(Integer value) {
            addCriterion("p_id <", value, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdLessThanOrEqualTo(Integer value) {
            addCriterion("p_id <=", value, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdIn(List<Integer> values) {
            addCriterion("p_id in", values, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdNotIn(List<Integer> values) {
            addCriterion("p_id not in", values, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdBetween(Integer value1, Integer value2) {
            addCriterion("p_id between", value1, value2, "pId");
            return (Criteria) this;
        }

        public Criteria andPIdNotBetween(Integer value1, Integer value2) {
            addCriterion("p_id not between", value1, value2, "pId");
            return (Criteria) this;
        }

        public Criteria andUIdIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andUIdIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andUIdEqualTo(Integer value) {
            addCriterion("u_id =", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotEqualTo(Integer value) {
            addCriterion("u_id <>", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThan(Integer value) {
            addCriterion("u_id >", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_id >=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThan(Integer value) {
            addCriterion("u_id <", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThanOrEqualTo(Integer value) {
            addCriterion("u_id <=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdIn(List<Integer> values) {
            addCriterion("u_id in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotIn(List<Integer> values) {
            addCriterion("u_id not in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdBetween(Integer value1, Integer value2) {
            addCriterion("u_id between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotBetween(Integer value1, Integer value2) {
            addCriterion("u_id not between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressIsNull() {
            addCriterion("chewei_address is null");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressIsNotNull() {
            addCriterion("chewei_address is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressEqualTo(String value) {
            addCriterion("chewei_address =", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressNotEqualTo(String value) {
            addCriterion("chewei_address <>", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressGreaterThan(String value) {
            addCriterion("chewei_address >", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressGreaterThanOrEqualTo(String value) {
            addCriterion("chewei_address >=", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressLessThan(String value) {
            addCriterion("chewei_address <", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressLessThanOrEqualTo(String value) {
            addCriterion("chewei_address <=", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressLike(String value) {
            addCriterion("chewei_address like", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressNotLike(String value) {
            addCriterion("chewei_address not like", value, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressIn(List<String> values) {
            addCriterion("chewei_address in", values, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressNotIn(List<String> values) {
            addCriterion("chewei_address not in", values, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressBetween(String value1, String value2) {
            addCriterion("chewei_address between", value1, value2, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiAddressNotBetween(String value1, String value2) {
            addCriterion("chewei_address not between", value1, value2, "cheweiAddress");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeIsNull() {
            addCriterion("chewei_type is null");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeIsNotNull() {
            addCriterion("chewei_type is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeEqualTo(String value) {
            addCriterion("chewei_type =", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeNotEqualTo(String value) {
            addCriterion("chewei_type <>", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeGreaterThan(String value) {
            addCriterion("chewei_type >", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeGreaterThanOrEqualTo(String value) {
            addCriterion("chewei_type >=", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeLessThan(String value) {
            addCriterion("chewei_type <", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeLessThanOrEqualTo(String value) {
            addCriterion("chewei_type <=", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeLike(String value) {
            addCriterion("chewei_type like", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeNotLike(String value) {
            addCriterion("chewei_type not like", value, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeIn(List<String> values) {
            addCriterion("chewei_type in", values, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeNotIn(List<String> values) {
            addCriterion("chewei_type not in", values, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeBetween(String value1, String value2) {
            addCriterion("chewei_type between", value1, value2, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTypeNotBetween(String value1, String value2) {
            addCriterion("chewei_type not between", value1, value2, "cheweiType");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartIsNull() {
            addCriterion("chewei_timeStart is null");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartIsNotNull() {
            addCriterion("chewei_timeStart is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartEqualTo(Date value) {
            addCriterion("chewei_timeStart =", value, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartNotEqualTo(Date value) {
            addCriterion("chewei_timeStart <>", value, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartGreaterThan(Date value) {
            addCriterion("chewei_timeStart >", value, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartGreaterThanOrEqualTo(Date value) {
            addCriterion("chewei_timeStart >=", value, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartLessThan(Date value) {
            addCriterion("chewei_timeStart <", value, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartLessThanOrEqualTo(Date value) {
            addCriterion("chewei_timeStart <=", value, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartIn(List<Date> values) {
            addCriterion("chewei_timeStart in", values, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartNotIn(List<Date> values) {
            addCriterion("chewei_timeStart not in", values, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartBetween(Date value1, Date value2) {
            addCriterion("chewei_timeStart between", value1, value2, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimestartNotBetween(Date value1, Date value2) {
            addCriterion("chewei_timeStart not between", value1, value2, "cheweiTimestart");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendIsNull() {
            addCriterion("chewei_timeEnd is null");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendIsNotNull() {
            addCriterion("chewei_timeEnd is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendEqualTo(Date value) {
            addCriterion("chewei_timeEnd =", value, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendNotEqualTo(Date value) {
            addCriterion("chewei_timeEnd <>", value, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendGreaterThan(Date value) {
            addCriterion("chewei_timeEnd >", value, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendGreaterThanOrEqualTo(Date value) {
            addCriterion("chewei_timeEnd >=", value, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendLessThan(Date value) {
            addCriterion("chewei_timeEnd <", value, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendLessThanOrEqualTo(Date value) {
            addCriterion("chewei_timeEnd <=", value, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendIn(List<Date> values) {
            addCriterion("chewei_timeEnd in", values, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendNotIn(List<Date> values) {
            addCriterion("chewei_timeEnd not in", values, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendBetween(Date value1, Date value2) {
            addCriterion("chewei_timeEnd between", value1, value2, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiTimeendNotBetween(Date value1, Date value2) {
            addCriterion("chewei_timeEnd not between", value1, value2, "cheweiTimeend");
            return (Criteria) this;
        }

        public Criteria andCheweiStateIsNull() {
            addCriterion("chewei_state is null");
            return (Criteria) this;
        }

        public Criteria andCheweiStateIsNotNull() {
            addCriterion("chewei_state is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiStateEqualTo(Integer value) {
            addCriterion("chewei_state =", value, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateNotEqualTo(Integer value) {
            addCriterion("chewei_state <>", value, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateGreaterThan(Integer value) {
            addCriterion("chewei_state >", value, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("chewei_state >=", value, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateLessThan(Integer value) {
            addCriterion("chewei_state <", value, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateLessThanOrEqualTo(Integer value) {
            addCriterion("chewei_state <=", value, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateIn(List<Integer> values) {
            addCriterion("chewei_state in", values, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateNotIn(List<Integer> values) {
            addCriterion("chewei_state not in", values, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateBetween(Integer value1, Integer value2) {
            addCriterion("chewei_state between", value1, value2, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiStateNotBetween(Integer value1, Integer value2) {
            addCriterion("chewei_state not between", value1, value2, "cheweiState");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1IsNull() {
            addCriterion("chewei_beiyong1 is null");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1IsNotNull() {
            addCriterion("chewei_beiyong1 is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1EqualTo(String value) {
            addCriterion("chewei_beiyong1 =", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1NotEqualTo(String value) {
            addCriterion("chewei_beiyong1 <>", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1GreaterThan(String value) {
            addCriterion("chewei_beiyong1 >", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1GreaterThanOrEqualTo(String value) {
            addCriterion("chewei_beiyong1 >=", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1LessThan(String value) {
            addCriterion("chewei_beiyong1 <", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1LessThanOrEqualTo(String value) {
            addCriterion("chewei_beiyong1 <=", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1Like(String value) {
            addCriterion("chewei_beiyong1 like", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1NotLike(String value) {
            addCriterion("chewei_beiyong1 not like", value, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1In(List<String> values) {
            addCriterion("chewei_beiyong1 in", values, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1NotIn(List<String> values) {
            addCriterion("chewei_beiyong1 not in", values, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1Between(String value1, String value2) {
            addCriterion("chewei_beiyong1 between", value1, value2, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong1NotBetween(String value1, String value2) {
            addCriterion("chewei_beiyong1 not between", value1, value2, "cheweiBeiyong1");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2IsNull() {
            addCriterion("chewei_beiyong2 is null");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2IsNotNull() {
            addCriterion("chewei_beiyong2 is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2EqualTo(String value) {
            addCriterion("chewei_beiyong2 =", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2NotEqualTo(String value) {
            addCriterion("chewei_beiyong2 <>", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2GreaterThan(String value) {
            addCriterion("chewei_beiyong2 >", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2GreaterThanOrEqualTo(String value) {
            addCriterion("chewei_beiyong2 >=", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2LessThan(String value) {
            addCriterion("chewei_beiyong2 <", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2LessThanOrEqualTo(String value) {
            addCriterion("chewei_beiyong2 <=", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2Like(String value) {
            addCriterion("chewei_beiyong2 like", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2NotLike(String value) {
            addCriterion("chewei_beiyong2 not like", value, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2In(List<String> values) {
            addCriterion("chewei_beiyong2 in", values, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2NotIn(List<String> values) {
            addCriterion("chewei_beiyong2 not in", values, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2Between(String value1, String value2) {
            addCriterion("chewei_beiyong2 between", value1, value2, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong2NotBetween(String value1, String value2) {
            addCriterion("chewei_beiyong2 not between", value1, value2, "cheweiBeiyong2");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3IsNull() {
            addCriterion("chewei_beiyong3 is null");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3IsNotNull() {
            addCriterion("chewei_beiyong3 is not null");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3EqualTo(String value) {
            addCriterion("chewei_beiyong3 =", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3NotEqualTo(String value) {
            addCriterion("chewei_beiyong3 <>", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3GreaterThan(String value) {
            addCriterion("chewei_beiyong3 >", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3GreaterThanOrEqualTo(String value) {
            addCriterion("chewei_beiyong3 >=", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3LessThan(String value) {
            addCriterion("chewei_beiyong3 <", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3LessThanOrEqualTo(String value) {
            addCriterion("chewei_beiyong3 <=", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3Like(String value) {
            addCriterion("chewei_beiyong3 like", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3NotLike(String value) {
            addCriterion("chewei_beiyong3 not like", value, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3In(List<String> values) {
            addCriterion("chewei_beiyong3 in", values, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3NotIn(List<String> values) {
            addCriterion("chewei_beiyong3 not in", values, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3Between(String value1, String value2) {
            addCriterion("chewei_beiyong3 between", value1, value2, "cheweiBeiyong3");
            return (Criteria) this;
        }

        public Criteria andCheweiBeiyong3NotBetween(String value1, String value2) {
            addCriterion("chewei_beiyong3 not between", value1, value2, "cheweiBeiyong3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}